{template header}

<meta http-equiv="imagetoolbar" content="no" />
<link rel="stylesheet" type="text/css" href="extend/fancybox/jquery.fancybox-1.3.4.css" media="screen" />
<script type="text/javascript" src="extend/fancybox/jquery.mousewheel-3.0.4.pack.js"></script>
<script type="text/javascript" src="extend/fancybox/jquery.fancybox-1.3.4.pack.js"></script>
<script language="javascript" type="text/javascript">
J(function(){
	bopuruiObj.product = {
		init: function(){		
			J('#intoShopping').click(function(){
				<!--{if !$userInfo[userId]}-->
				ajaxmenu("/product-detail-{$categoryId}.htm?verify=islogin&tourl={$_SERVER['REQUEST_URI']}", 0);
				<!--{else}-->
				if(J('input[name=productId[]]:checked').length==0){
					alert('请选择产品！');
				}else{
					var productId = '';
					J('input[name=productId[]]:checked').each(function(){productId = productId + J(this).val() + '-';});
					ajaxmenu('/product-detail-{$categoryId}.htm?intoShopping=add&pid='+productId, 0, 0, 0, function(s){J('#cartCount').html(J('#ShopcartCount').find('b').eq(0).html())});
				}
				<!--{/if}-->
			});
			
			J('#ImmediatelyShopping').click(function(){
				<!--{if !$userInfo[userId]}-->
				ajaxmenu("/product-detail-{$categoryId}.htm?verify=islogin&tourl={$_SERVER['REQUEST_URI']}", 0);
				<!--{else}-->
				if(J('input[name=productId[]]:checked').length==0){
					alert('请选择产品！');
				}else{
					var productId = '';
					J('input[name=productId[]]:checked').each(function(){productId = productId + J(this).val() + '-';});
					location.href='/product-detail-{$categoryId}.htm?intoShopping=add&action=now&pid='+productId;
				}
				<!--{/if}-->
			});
			
			J('#selectAll').click(function(){
				if(J(this).attr('checked')==true){
					J('input[name=productId[]]').attr('checked', true)
				}else{
					J('input[name=productId[]]').attr('checked', false)
				}
			});
			J('.pro_top_bg a').filter(function(){return J.trim(J(this).text()) == '{$letter}'}).css({'font-weight':'bold','color':'blue'});
			bopuruiObj.command.mtabletr();
			bopuruiObj.command.selectBoxAll();
		}	
	}
	bopuruiObj.product.init();
});
</script>
<style type="text/css">

#bbv{position:fixed;top:300px;right:10px;_position:absolute;_top:expression(documentElement.scrollTop+300);}
#dbimg{width:50px;height:50px;height:22px;background:url(../images/pk.gif);text-align:center;color:#fff;font-weight:bold;padding-top:28px;cursor:pointer;}
#xsyc{border:2px dotted #f00;position:absolute;line-height:10px;width:15px;height:15px;top:-20px;opacity:0.9;filter:alpha(opacity=90);z-index:999;}
#dbnr{display:none;position:absolute;top:0;right:55px;border:6px solid #FBDDE7;background:#FCFCFC;width:272px;overflow:hidden;z-index:9;}
#dbnr b{display:block;clear:both;height:26px;font-size:14px;padding:8px 0 0 10px;}
#dbnr b span{float:left;}
#dbnr b span.span2{float:right;padding-right:7px;font-size:12px;font-weight:normal;cursor:pointer;}
#dbnr ul{width:246px;overflow:hidden;padding:0 0 4px 14px;}
#dbnr ul li{width:240px;overflow:hidden;padding:0 0 7px 0;color:#CA0065;}
#dbnr img{cursor:pointer;}
.pkbut{clear:both;height:45px;background:url(../images/pkline.gif) repeat-x;padding-left:60px;}
.pkbut span{display:inline-block;float:left;width:65px;height:22px;background:url(../images/allbut4.gif) no-repeat;text-align:center;line-height:22px;color:#C54870;margin:12px 18px 0 0;cursor:pointer;}
.pkbut span a:link,.pkbut span a:visited{text-decoration:none;color:#C54870;}
.pkbut span a:active,.pkbut span a:hover{text-decoration:none;color:#C54870;}
#tishi{width:100%;text-align:center;padding-bottom:10px;}
dl,dd,dt,ul,ol,li,h1,h2,h3,h4,h5,h6{list-style-position:outside;list-style-type:none;margin:0px;padding:0px;border:0px;}

</style>

<div class="top_1"></div>
<div class="top_2">
	  <div class="con_left">
		  {template userlogin}		  
		  {template product_left}			
	  </div>
        
  <div class="con_box_left">
     <div class="pro_center_top"><img src="images/darkgreen/023.gif" /> 系列信息</div>
       
	 <div class="clear"></div>
     
    <div ><img src="images/darkgreen/l_012.gif" />
<form id="form1" name="form1" method="post" action="">
      <table width="100%" border="0" cellspacing="0" cellpadding="0" style="margin-top:5px; font-size:14px" class="table1">
		<tbody>
          <tr><th width="1%">
            <td width="7%" height="30" align="center" bgcolor="#EAEAEA"><label>全选<input type="checkbox" id="selectAll" value="all" /></label></td>
            <td width="1%" align="center" bgcolor="#EAEAEA"><img src="images/darkgreen/l_013.gif" width="2" height="20" /></td>
            <td width="11%" align="center" bgcolor="#EAEAEA"><strong>订货号</strong></td>
            <td width="1%" align="center" bgcolor="#EAEAEA"><img src="images/darkgreen/l_013.gif" width="2" height="20" /></td>
            <td width="22%" align="center" bgcolor="#EAEAEA"><strong>产品说明</strong></td>
            <td width="1%" align="center" bgcolor="#EAEAEA"><img src="images/darkgreen/l_013.gif" width="2" height="20" /></td>
            <td width="20%" align="center" bgcolor="#EAEAEA"><strong>产品分类</strong></td>
            <td width="0%" align="center" bgcolor="#EAEAEA"><img src="images/darkgreen/l_013.gif" width="2" height="20" /></td>
            <td width="11%" align="center" bgcolor="#EAEAEA"><strong>存货类型</strong></td>
            <td width="0%" align="center" bgcolor="#EAEAEA"><img src="images/darkgreen/l_013.gif" width="2" height="20" /></td>
            <td width="12%" align="center" bgcolor="#EAEAEA"><strong>市场价</strong></td>
			<td width="1%" align="center" bgcolor="#EAEAEA"><img src="images/darkgreen/l_013.gif" width="2" height="20" /></td>
            <td width="11%" align="center" bgcolor="#EAEAEA"><strong>会员价</strong></td>
            <td width="1%"></th>
		   <!--{loop $productArr $key $list}-->
			<tr id="tr_$list[productId]">
				<td height="28" colspan="2" align="center" style="border-bottom:1px dashed #999999"><input type="checkbox" name="productId[]" Tags="mark" value="{$list[productId]}" /></td>
				<td align="center" style="border-bottom:1px dashed #999999">&nbsp;</td>
				<td style="border-bottom:1px dashed #999999; padding-left:10px;"><font class="ari" >{$list[productNo]}</font></td>
				<td align="center" style="border-bottom:1px dashed #999999; line-height:40px;" >&nbsp;</td>
				<td style="border-bottom:1px dashed #999999;  padding-left:10px;" ><font class="ari" >{$list[content]}</font></td>
				<td align="center" style="border-bottom:1px dashed #999999">&nbsp;</td>
				<td align="center" style="border-bottom:1px dashed #999999">{$list[categoryName]}</td>
				<td align="center" style="border-bottom:1px dashed #999999">&nbsp;</td>
				<td align="center" style="border-bottom:1px dashed #999999">{$list[stockType]}</td>
				<td align="center" style="border-bottom:1px dashed #999999">&nbsp;</td>
				<td align="right" style="border-bottom:1px dashed #999999; padding-right:5px;"><font class="scj">$list[ourPrice]</font></td>
				<td align="center" style="border-bottom:1px dashed #999999">&nbsp;</td>
				<td align="right" style="border-bottom:1px dashed #999999;padding-right:5px;"><font class="hyj">$list[userPrice]</font></td>
			</tr>
			<!--{/loop}-->
		  </tbody>
        </table>
		<!--{if $numCount==0}-->
		<h3><font color="#FF0000">还没有信息</font></h3>
		<!--{/if}-->
		<!--{if $multipage!=''}-->	
        <table width="100%" border="0" cellspacing="0" cellpadding="0" style="margin-top:5px;">
          <tr>
            <td height="30" align="right" bgcolor="#EAEAEA">
				<div class="pages">
					<div class="scott" style="text-align:center;">
						<!--{$multipage}-->	
					</div>					
				</div>
			
		 </td>
          </tr>
        </table>
		<!--{/if}-->
		<!--{if $numCount>0}-->
        <table width="100%" border="0" cellspacing="0" cellpadding="0" style="margin-top:5px;">
			  <tr>
				<td width="19%" height="40" valign="middle">
				<img id="ImmediatelyShopping" src="images/darkgreen/l_015.gif" style="cursor:pointer" />
				<td width="81%" valign="middle">
				<img id="intoShopping" src="images/darkgreen/l_016.gif" style="cursor:pointer" />
				</td>
			  </tr>
		</table>
		<!--{/if}-->
      </form>
    </div>
  </div>
</div>
  <div class="top_3"></div>
  
  
{template footer}